-- GENERATED SPELL FOR [Tethyr] --


function spell0_23899(pUnit, Event) --@Water Bolt,n/a--
pUnit:FullCastSpellOnTarget(42574,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23899', 2000, 1)
end

function Sorts_23899(pUnit, Event)
local choix_sorts_23899 = math.random(0, 0)
if choix_sorts_23899 == 0 then
pUnit:RegisterEvent('spell0_23899', 1, 1)
end
end

function mob23899_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23899', math.random(1500, 3000), 1)
end

function mob23899_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23899_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23899_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23899, 1, 'mob23899_Action')
RegisterUnitEvent(23899, 2, 'mob23899_Leave')
RegisterUnitEvent(23899, 3, 'mob23899_Kill')
RegisterUnitEvent(23899, 4, 'mob23899_Die')
